package com.topvision.service.impl.zwan;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.zwan.SessionFlowMapper;
import com.topvision.model.zwan.SessionFlow;
import com.topvision.service.zwan.SessionFlowService;

@Service("sessionFlowService")
public class SessionFlowServiceImpl implements SessionFlowService {
	@Autowired
	private SessionFlowMapper sessionFlowMapper;
	
	@Override
	public SessionFlow queryObject(Long id){
		return sessionFlowMapper.queryObject(id);
	}
	
	@Override
	public List<SessionFlow> queryList(Map<String, Object> map){
		return sessionFlowMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return sessionFlowMapper.queryTotal(map);
	}
	
	@Override
	public void save(SessionFlow sessionFlow){
		sessionFlowMapper.save(sessionFlow);
	}
	
	@Override
	public void update(SessionFlow sessionFlow){
		sessionFlowMapper.update(sessionFlow);
	}
	
	@Override
	public void delete(Long id){
		sessionFlowMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		sessionFlowMapper.deleteBatch(ids);
	}

    @Override
    public SessionFlow queryObjectByMap(Map<String, Object> map){
        return sessionFlowMapper.queryObjectByMap(map);
    }

    @Override
    public List<SessionFlow> queryByParam(Map<String, Object> map){
        return sessionFlowMapper.queryByParam(map);
    }

	@Override
	public List<SessionFlow> queryByParamAndPage(Map<String, Object> map) {
		return sessionFlowMapper.queryByParamAndPage(map);
	}

	@Override
	public int queryByParamTotal(Map<String, Object> map) {
		return sessionFlowMapper.queryByParamTotal(map);
	}
}
